<h1>Welcome, <%= @user.name %></h1>

<div align="center" style="padding: 0px 20px 0px 20px;">
<a id="linkButton" href="/endar_event/show/<%= @event.id %>">Back To Event Page</a><br /><br />
</div>

<h3>Add Free Time Via:</h3>
<p>	<%= link_to_remote "Form", :url => { :action => '_user_time_form_add', :id => @event.id, :uid => @user.id } %><%= "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" %>
	<%= link_to_remote "Local .ics", :url => { :action => '_user_time_ics_add', :id => @event.id, :uid => @user.id } %><%= "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" %>
	<%= link_to_remote "Online .ics", :url => { :action => '_user_time_url_add', :id => @event.id, :uid => @user.id } %><%= "&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp" %>
	<%= link_to "Google Calendar" , { :controller => 'endar_user_time', :action => 'signon_google', :id => @event.id, :uid => @user.id } %>
	<small>(You will be redirected to Google.com to sign in.)</small></p>


<div id="user_times">
	<fieldset style="width:800px;">
		Choose a way to upload your free time Above.
	</fieldset>
</div>


<p>Current Free Time:</p>
<fieldset style="width:800px;">
	<% if @user_times.blank? %>
		<%= @user.name %> does not have any free time.
	<% else %>
		<% @user_times.each do |u| %>
			<li><%= u.date_begin %> to <%= u.date_end %></li>
		<% end %>
	<% end %></p>
</fieldset>